package com.zhiyu.mapper;

import com.zhiyu.common.BaseMapper;
import com.zhiyu.pojo.Address;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AddressMapper extends BaseMapper<Address> {
    int updateStatus(Integer addressId);
    int updateDefaultStatus(Integer userId);
    Address selectDefault (Integer userId);
}